import axios from '@/utils/axios.js'

// 系统配置list接口

export const fetConfigList = params => {
    return axios({
        url: '/sys/configManager/getConfigList',
        method: 'get',
        params,
        mock: true
    })
}
//   新增
export const configAddItem = data => {
    return axios({
        url: '/sys/configManager/addConfig',
        method: 'post',
        data,
        mock: true
    })
}

// 编辑
export const configEditItem = data => {
    return axios({
        url: '/sys/configManager/editConfig',
        method: 'post',
        data,
        mock: true
    })
}
